package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.gdut.chengcai.entity.MemberInfo;
import cn.gdut.chengcai.entity.MemberInfoExample;

@Repository
public interface MemberInfoDao {
	long countByExample(MemberInfoExample example);

	int deleteByExample(MemberInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(MemberInfo record);

	int insertSelective(MemberInfo record);

	List<MemberInfo> selectByExample(MemberInfoExample example);

	MemberInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") MemberInfo record, @Param("example") MemberInfoExample example);

	int updateByExample(@Param("record") MemberInfo record, @Param("example") MemberInfoExample example);

	int updateByPrimaryKeySelective(MemberInfo record);

	int updateByPrimaryKey(MemberInfo record);


}